package com.iworkh.spring.aop.xml;

import com.iworkh.spring.aop.xml.biz.service.IService;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * 入口类
 *
 * @author: iworkh-沐雨云楼
 * @date: 2019-12-19
 */
public class App {

    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("spring-aop.xml");
        IService bookService = (IService)context.getBean("bookService");
        bookService.get("1");
    }
}
